process.on('beforeExit', (code) => {
	console.log('beforeExit: ', code);
});
process.on('exit', (code) => {
	console.log('exit: ', code);
});

console.log('process.argv', process.argv);
/** process.argv [
  'C:\\Program Files\\nodejs\\node.exe',
  'G:\\前端知识体系\\04_node\\03全局变量\\02process\\app01.js'
]
*/
console.log('process.argv0', process.argv0);//process.argv0 C:\Program Files\nodejs\node.exe